<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小米商城</title>
    <style>
        .box {
            margin: 1% auto;
            width: 2400px;
            height: 500px;
            background-color: red;
        }

        .left {
            float: left;
            width: 300px;
            height: 100%;
            background-color: rgb(80, 14, 167);
        }

        .right {
            float: left;
            width: 2099px;
            height: 100%;
            background-color: rgb(10, 238, 29);
        }

        .mini-box {
            float: left;
            margin: 10px;
            margin-right: 40px;
            width: 550px;
            height: 96%;
            background-color: cadetblue;
        }
    </style>
</head>

<body>

    <div class="box">
        <div class="left">left</div>
        <div class="right">right</div>
    </div>
    <div class="box">
        <div class="mini-box">1</div>
        <div class="mini-box">2</div>
        <div class="mini-box">3</div>
        <div class="mini-box">4</div>
    </div>


</body>

</html>